{include file="header.tpl"}
<script type="text/javascript">
function confirmDelete()
{
	if(confirm('Are You Sure 1 st time?'))
	{
		if(confirm('Are You Sure 2nd time?'))
		  {
		    if(confirm('Are You Sure ? This is Final Delete...!!!'))
			    return true;
			  else
			    return false;
		  }
	}
	else
	  return false;
}
</script>
<div class="contentDiv">
	<table align="center" cellpadding="4">
	<tr class="table1">
		<th colspan="2">&nbsp;</th>
		<th>Bill No</th>
		<th>Date</th>
    <th>Party Name</th>
		<th>Silver</th>
	</tr>
	{section name="sec" loop=$voucherArray|@count}
		<tr>
			<td><a href="javakVoucherDeleteOm.php?javakvoucherId={$voucherArray[sec].javakvoucherId}" onclick="return confirmDelete();">Delete</a></td>
			<td><a href="javakVoucherPrintOm.php?javakvoucherId={$voucherArray[sec].javakvoucherId}">Print</a></td>
			<td align="center">{$voucherArray[sec].billNo}</td>
			<td align="center">{$voucherArray[sec].date|date_format:"%d-%m-%Y"}</td>
			<td align="left">{$voucherArray[sec].partyName}</td>
			<td align="right">{$voucherArray[sec].silverKg|string_format:"%.0f"}</td>
		</tr>
	{/section}
	</table>
</div>
{include file="footer.tpl"}